package com.moodbox.server.mood.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moodbox.server.mood.entity.MoodRecord;
import org.apache.ibatis.annotations.Mapper;

/**
 * 心情记录Mapper接口
 */
@Mapper
public interface MoodRecordMapper extends BaseMapper<MoodRecord> {
    /**
     * 根据用户ID和日期查询心情记录
     * @param userId 用户ID
     * @param recordDate 记录日期
     * @return 心情记录
     */
    MoodRecord selectByUserIdAndDate(String userId, String recordDate);
} 